package ourMessage;

public class Bye extends Message{
        
        private static final long serialVersionUID = 4849L;
        private String login;
        public Bye(String login) {
                super(login);
                this.login=login;
        }
        @Override
        public String toString() {
                return "Bye from " + login  ;
        }      
         /**
        * @return the login
        */
        public String getlogin() {
          return login;
        }
        
}